package com.wen.es.domain;

import com.wen.es.annotation.EsTypeAnno;
import com.wen.es.utils.EsConstants;

import java.util.Date;

/**
 * Created by LAIO on 2018/6/30.
 */
public class NestedType {
    @EsTypeAnno(
            propertyName = "nest_string")
    private String nestString;
    @EsTypeAnno(
            propertyName = "nest_double",
            type = EsConstants.TYPE_DOUBLE)
    private Double nestDoble;
    @EsTypeAnno(
            propertyName = "nest_long",
            type = EsConstants.TYPE_LONG)
    private Long nestLong;
    @EsTypeAnno(
            propertyName = "nest_date",
            type = EsConstants.TYPE_DATE)
    private Date nestDate;

    public String getNestString() {
        return nestString;
    }

    public void setNestString(String nestString) {
        this.nestString = nestString;
    }

    public Double getNestDoble() {
        return nestDoble;
    }

    public void setNestDoble(Double nestDoble) {
        this.nestDoble = nestDoble;
    }

    public Long getNestLong() {
        return nestLong;
    }

    public void setNestLong(Long nestLong) {
        this.nestLong = nestLong;
    }

    public Date getNestDate() {
        return nestDate;
    }

    public void setNestDate(Date nestDate) {
        this.nestDate = nestDate;
    }
}
